package com.xjscrm.console.mapper;

import com.xjscrm.common.entity.WwGroupClassify;
import com.xjscrm.console.param.group.WwGroupClassifyQuery;
import com.xjscrm.console.vo.WwGroupClassifyVo;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface WwGroupClassifyMapper {
    int insert(WwGroupClassify wwGroupClassify);

    WwGroupClassify getById(@Param("id") Long id, @Param("merId") Long merId);

    int update(WwGroupClassify wwGroupClassify);

    List<WwGroupClassifyVo> getWwGroupClassifyList(WwGroupClassifyQuery wwGroupClassifyQuery);

    int delById(@Param("id") Long id, @Param("merId") Long merId);

}
